-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for SORT_RO #1858
Add support for SORT_RO #1858
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1858 +/- ##
==========================================
- Coverage 93.02% 92.13% -0.89%
==========================================
Files 76 100 +24
Lines 16537 21009 +4472
==========================================
+ Hits 15383 19356 +3973
- Misses 1154 1653 +499
Continue to review full report at Codecov.
|
@dvora-h mind taking a look at the cluster tests? |
Returns the elements contained in the list, set or sorted set at key. | ||
(read-only variant of the SORT command) | ||
|
||
``start`` and ``num`` allow for paging through the sorted data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do start and num come from? I dont't see them on the docs page. I see a LIMIT in which case we can align with the command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did it this way to stay consistent with 'sort', I can change both but I don't think it's a good idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. I wish sort didn't look this way now. Fine - better to have two behave the same.
Pull Request check-list
Please make sure to review and check all of these items:
$ tox
pass with this change (including linting)?NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
closes #1809